namespace B.S.NewMedical.Api.Read.DTOS.Department
{
    /// <summary>
    /// 科室查询DTO
    /// </summary>
    public class DepartmentQueryDto
    {
        /// <summary>
        /// 科室名称（模糊查询）
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// 科室类型筛选
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 状态筛选
        /// </summary>
        public bool? IsOnline { get; set; }

        /// <summary>
        /// 父级科室ID（用于查询二级科室）
        /// </summary>
        public int? ParetId { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页大小
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}